package com.happycat.mobile.model;
 
import java.util.List;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * Module: UserMenu.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-08-01
 * @Descriptions:
 */
@Data
@TableName(value = "user_menu")
@ApiModel
public class UserMenu  {
	
	

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value="id")
	private Long id;
	
	
	@ApiModelProperty(value="菜单名称")
	@TableField("name")
	private String name;
	
	
	@ApiModelProperty(value="菜单url")
	@TableField("url")
	private String url;
	
	
	@ApiModelProperty(value="菜单等级")
	@TableField("level")
	private Integer level;
	
	@ApiModelProperty(value="菜单角色")
	@TableField(exist = false)
	private List<AccountRole> accountRoleList;
	
}